-
Home
-
Jetpack Boost – Website Speed, Performance and Critical CSS
-
3.6.1 (latest)
-
Code
-
Classes
- Wpcom_Products
Total Complexity |
44 |
Dependencies |
6 |
Dependents |
19 |
Total lines |
379 |
Lines of code |
202 |
Logical lines of code |
115 |
Comment lines |
117 |
Methods |
14 |
Properties |
1 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_products_from_wpcom() |
A |
42 |
8 |
55 |
get_products() |
S |
57 |
6 |
19 |
build_check_hash() |
S |
56 |
6 |
18 |
get_site_current_purchases() |
S |
50 |
5 |
31 |
populate_with_discount() |
S |
58 |
4 |
15 |
get_product_pricing() |
S |
53 |
3 |
24 |
is_cache_old() |
S |
62 |
3 |
11 |
get_product() |
S |
70 |
2 |
6 |
get_request_failure() |
S |
71 |
2 |
6 |
update_cache() |
S |
72 |
1 |
5 |
get_products_from_cache() |
S |
78 |
1 |
3 |
get_site_current_plan() |
S |
80 |
1 |
3 |
reset_request_failures() |
S |
80 |
1 |
3 |
set_request_failure() |
S |
79 |
1 |
3 |